package com.siwen.mapper;

import com.siwen.pojo.ChildTbl;
import com.siwen.pojo.system.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemMapper {
    List<SysModule> TheMenuAll();
    long ChildTblAllCount(  @Param("authenname") String authenname,@Param("startTime") String startTime
            ,@Param("endTime") String endTime);
    List<ChildTbl> ChildTblAll(@Param("startIndex")long startIndex,@Param("endIndex") long endIndex,
                               @Param("authenname") String authenname,@Param("startTime") String starTime
                                ,@Param("endTime") String endTime );
    int updateChildTblById(ChildTbl c);
    int deleteChildTblById(String childid);
    int insertChildTbl(ChildTbl c);
    int insertSysAdminczrztbl(SysAdminczrztbl sysAdminczrztbl);
    int insertSysUserfwjltbl(SysUserfwjltbl sysUserfwjltbl);
    int insertSysAdminfwrztbl(SysAdminfwrztbl sysAdminfwrztbl);
    int insertSysRole(SysRole sysRole);
    int insertSysAdminRole(SysAdminRole sysAdminRole);
    List<SysAdminRole>  selectSysAdminRoleByid (String adminid);


}
